//
//  ViewController.m
//  11203-国旗国家
//
//  Created by student on 16/3/3.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()<UITableViewDataSource,UITableViewDelegate>
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (strong,nonatomic) NSArray *nameArr;

@property (strong,nonatomic) NSArray *picArr;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.tableView.delegate = self;
    self.tableView.dataSource = self;
    self.nameArr = [[NSArray alloc] initWithObjects:@"A1-南非",@"A2-墨西哥",@"B1-阿根廷",@"B2-尼日利亚",@"C1-英格兰",@"C2-美国",@"D1-德国",@"D2-澳大利亚",@"E1-荷兰",@"E2-丹麦",@"G1-巴西",@"G2-朝鲜",@"H1-西班牙",@"H2-瑞士",nil];
    self.picArr = [[NSArray alloc] initWithObjects:@"SouthAfrica.png",@"Mexico.png",@"Argentina.png",@"Nigeria.png",@"England.png",@"USA.png",@"Germany.png",@"Australia.png",@"Holland.png",@"Denmark.png",@"Brazil.png",@"NorthKorea.png",@"Spain.png",@"Switzerland.png",nil];
    
}
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    NSString *g = @"G";
    NSString *a = @"A";
    return (int)[g intValue] - [a intValue];
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
